import { config } from '@vue/test-utils'
import axios from 'axios'
const _axios = axios.create({
  baseURL: process.env.VUE_APP_BASE_API
})
_axios.interceptors.request.use(
  config => {
    return config
  },
  error => {
    return Promise.reject(error)
  }
)
_axios.interceptors.response.use(
  res => {
    return res
  },
  error => {
    return Promise.reject(error)
  }
)
export default _axios
